﻿using System.ComponentModel.DataAnnotations;

namespace Adams.Admin.DataTransfer.TarawehPrayers.CreateLocation
{
    public class PageLoad
    {
        public Adams.Shared.Entities.TarawehPrayers.Location Location { get; set; }
    }

    public class FormInput
    {
        public string ID { get; set; }

        [Required]
        [StringLength(50)]
        public string Name { get; set; }

        [Required]
        [StringLength(100)]
        public string Street { get; set; }

        [StringLength(100)]
        public string Street2 { get; set; }

        [Required]
        [StringLength(50)]
        public string City { get; set; }

        [Required]
        [StringLength(2)]
        public string State { get; set; }

        [Required]
        [StringLength(10)]
        public string ZipCode { get; set; }

        [Required]
        [StringLength(50)]
        [Decimal]
        public string Latitude { get; set; }

        [Required]
        [StringLength(50)]
        [Decimal]
        public string Longitude { get; set; }

        public string LongNote { get; set; }

        [Required]
        [Integer]
        public string DisplayOrder { get; set; }
    }
}
